package com.miyu.common.pojo.cos;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 因为城市
 * 城市列表
 * 供天气选择城市使用
 *
 * @author longmy
 * @date 2022/02/25
 */
@Data
@Entity
@Table(name = "cos_city")
public class CosCity implements Serializable {
    @Id
    @Column(name = "id", nullable = false, length = 32)
    private String id;
    @Column(name = "city_en",  length = 32)
    private String cityEn;
    @Column(name = "city_zh",  length = 32)
    private String cityZh;
    @Column(name = "province_en",  length = 32)
    private String provinceEn;
    @Column(name = "province_zh",  length = 32)
    private String provinceZh;
    @Column(name = "country_en",  length = 32)
    private String countryEn;
    @Column(name = "country_zh",  length = 32)
    private String countryZh;
    @Column(name = "leader_en",  length = 32)
    private String leaderEn;
    @Column(name = "leader_zh",  length = 32)
    private String leaderZh;
    @Column(name = "lat",  length = 32)
    private String lat;
    @Column(name = "lon",  length = 32)
    private String lon;


}
